package cn.yuanqiao.archive.storeRoom.mapper;

import cn.yuanqiao.archive.storeRoom.domain.OutBound;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface InAndOutBoundMapper {
    public int updateStatus(@Param("folderId") Long id1, @Param("code") String code, @Param("zt") int i, @Param("boxId") long boxId, @Param("time") String time, Date date, Long userId);

    public  String getStatus(@Param("folderId") Long id1, @Param("code") String code, @Param("boxId") Long boxId);

    public List<Long> getDaIdByfolderId(@Param("folderId")Long id1, @Param("code") String code);

    public void updateSjStates(@Param("folderId") Long id1, @Param("code") String code, @Param("zt") int i, @Param("boxId") long boxId, @Param("time") String time, Date date, Long userId);

    public Long getGzId(@Param("folderId") Long id1, @Param("code")String code, @Param("boxId") Long boxId);

    public List<OutBound> getOutBoundByHe(@Param("code") String code, @Param("gzId")Long gzId, @Param("keyWord")String keyWord);

    public List<OutBound> getOutBoundByFolder(@Param("code") String code, @Param("gzId")Long gzId, @Param("keyWord")String keyWord);

}
